package com.chzu.utils;

import com.chzu.dao.ObjectCtl;
import com.chzu.pojo.DataSource;
import org.nutz.dao.Dao;
import org.nutz.dao.impl.NutDao;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author liangzhuo
 * @create 2021-10-22-16:56
 */
public class GlobalCache {
    public static Map<String, Dao> dataSourceMap = new HashMap<>();
    public static ObjectCtl objectCtl = new ObjectCtl();
    public static Dao localDao = new NutDao();
    /**全局注入各表的数据源信息*/
    public static List<DataSource> pojoList;
    /**全局注入汇总表的全部表名，除去记录表和数据源表*/
    public static List<String> AllTables;
}
